<template>
	<view class="wrap">
    <u-gap height="20"></u-gap>
		<view>
      <u--text type="info" text="Future移动APP" align="center" size="30"></u--text>
      <u--text type="info" :text="vuex_config.productVersion" align="center" size="20"></u--text>
		</view>
    <u-empty mode="list" :text="' '" icon="http://cdn.uviewui.com/uview/empty/list.png"></u-empty>
    <view class="base-bg">
      <u--text text="Future移动APP介绍" size="25"></u--text>
      <rich-text :nodes="content1" style="font-size: 19px;color:#909399"></rich-text>
    </view>
    <u-gap height="10"></u-gap>
		<u-cell-group class="form" :border="false" :customStyle="{backgroundColor: '#FFFFFF'}">
			<navigator url="/pagework/common/webview?title=公司首页&url=https://m.baidu.com" open-type="navigate">
				<u-cell :isLink="true" title="公司首页">https://www.future.com</u-cell>
			</navigator>
			<navigator url="/pagework/common/webview?title=技术服务&url=https://m.baidu.com" open-type="navigate">
				<u-cell :isLink="true" title="技术服务">https://www.future.com</u-cell>
			</navigator>
			<navigator url="/pagework/common/webview?title=服务条款&url=https://m.baidu.com" open-type="navigate">
				<u-cell :isLink="true" title="服务条款">https://www.future.com</u-cell>
			</navigator>
		</u-cell-group>
		<u-row gutter="16" style="margin-top: 20px;">
			<u-col span="6" text-align="center">
				<view class="cade-box"><image src="https://ff-cloud.oss-cn-beijing.aliyuncs.com/app/future/images/logo1.png"></image></view>
				<view class="cade-text">Future</view>
			</u-col>
			<u-col span="6" text-align="center">
				<view class="cade-box"><image src="https://ff-cloud.oss-cn-beijing.aliyuncs.com/app/future/images/logo1.png"></image></view>
				<view class="cade-text">Future</view>
			</u-col>
		</u-row>
		<view class="copyright">
			<view> 版权所有</view>
			<view>Copyright &copy; 2022 future.com</view>
		</view>
	</view>
</template>
<script>
/**
 * Copyright (c) 2020-Now http://www.future.com All rights reserved.
 */
export default {
	data() {
		return {
        content1: '君不见黄河之水天上来，奔流到海不复回。君不见高堂明镜悲白发，朝如青丝暮成雪。人生得意须尽欢，莫使金樽空对月。天生我材必有用，千金散尽还复来。烹羊宰牛且为乐，会须一饮三百杯。岑夫子，丹丘生，将进酒，杯莫停。与君歌一曲，请君为我倾耳听。(倾耳听一作：侧耳听)钟鼓馔玉不足贵，但愿长醉不愿醒。(不足贵一作：何足贵；不愿醒一作：不复醒)古来圣贤皆寂寞，惟有饮者留其名。(古来一作：自古；惟通：唯)陈王昔时宴平乐，斗酒十千恣欢谑。主人何为言少钱，径须沽取对君酌。五花马、千金裘，呼儿将出换美酒，与尔同销万古愁。',
        style:{
          $u_f_base_color: '#73b7bb',
          $u_primary_disabled: '#9acafc',
          $u_info: '#909399',
          iconStyle: 'font-size: 19px;color:#73b7bb'
        }
		};
	},
	methods: {
		upgrade(){
			// #ifdef APP-PLUS
			this.$u.api.upgradeCheck().then(res => {
				if (res.result == 'true'){
					uni.showModal({
						title: '提示',
						content: res.message + '是否下载更新？',
						showCancel: true,
						success: function (res2) {
							if (res2.confirm) {
								plus.runtime.openURL(res.data.apkUrl);
							}
						}
					});
				}else{
					this.$u.toast(res.message);
				}
			});
			// #endif
			// #ifndef APP-PLUS
			this.$u.toast('小程序端或H5端已是最新版，无需检查更新！');
			// #endif
		}
	}
};
</script>
<style lang="scss">
  page {
    background-color: #f5f5f5;
  }
  .wrap{

    .base-bg{
      background-color:  $u-f-main-color;
      padding: 0 15px 0 15px;
    }
  }
.title {
	display: flex;
	margin: 30rpx 0 10px;
	font-size: 50rpx;
}
.version {
	margin-bottom: 10rpx;
	font-size: 40rpx;
}
.copyright {
	margin-top: 50rpx;
	text-align: center;
	line-height: 60rpx;
	color: #999;
}
.cade-box{
	uni-image{
		width: 120px;
		height:120px;
		border: 1px solid #dcdcdc;
		padding: 5px;
		background: #ffffff;
	}
}
.cade-text{
	color: #999999;
	font-size:12px;
}
</style>
